<template>
  <div class="process">
    <h2 class="header">用户举报流程图</h2>
    <el-row>
      <el-col
        v-for="(item, index) in list"
        :key="index"
        :span="4"
      >
        <div class="block">
          <img :src='`${$baseImgUrl}report/process0${index+1}.png`'/>
          <p class="index">{{index + 1}}</p>
          <p class="description">{{item}}</p>
        </div>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'ReportProcess',
  data() {
    return {
      list: [
        '用户注册并登录',
        '发起举报',
        '客服免费受理',
        '检查举报真实性',
        '协商用户与平台',
        '举报完成'
      ]
    };
  }
};
</script>

<style lang="less" scoped>
  @import '../../../less/global.less';
  .process {
    .header {
      line-height: 60px;
      text-align: center;
      font-size: 30px;
    }
    .el-row {
      .el-col {
        .block {
          position: relative;
          width: 150px;
          height: 150px;
          margin: 0 auto;
          padding: 50px 20px 0 20px;
          border-radius: 8px;
          background-color: @mainBgColor;
          color: #fff;
          img {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 40px;
          }
          .index {
            font-size: 30px;
          }
          .description {
            line-height: 24px;
          }
        }
      }
    }
  }
</style>
